package cn.iocoder.yudao.module.system.service.investment;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.system.controller.admin.investment.vo.ParticipationReqVO;
import cn.iocoder.yudao.module.system.controller.admin.investment.vo.ParticipationRespVO;
import cn.iocoder.yudao.module.system.controller.admin.investment.vo.ParticipationUpdateReqVO;
import cn.iocoder.yudao.module.system.dal.dataobject.investment.SystemParticipation;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface ParticipationService {

    public PageResult<ParticipationRespVO> getParticipationPage(ParticipationReqVO reqVO);

    public int createParticipation(SystemParticipation systemParticipation);

    public int deleteParticipation(Integer participationId);

    public int updateParticipation(ParticipationUpdateReqVO participationUpdateReqVO, String requestMappingPath) throws IOException;

    public PageResult<ParticipationRespVO> getParticipationListByUserId(ParticipationReqVO reqVO);

    public Integer passingParticipationList(List<Integer> reqVO);

    Integer rejectParticipationApplications(List<Integer> reqVO);
}
